Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-72622] Rename CloudSet query parameter to avoid conflict #9198

Merged
merged 2 commits into from
May 19, 2024

Conversation

Dohbedoh
Copy link
Contributor

@Dohbedoh Dohbedoh commented Apr 26, 2024

See JENKINS-72622.

The parameter type is quite generic. For example it conflict with one of the AmazonEC2Cloud form attribute. proposing to use more specici attribute cloudDescriptorName to fix this and also avoid conflict in the future.

Testing done

  • Tested creation of Amazon EC2 Cloud with AMI (ec2-plugin)
  • Tested creation of Kubernetes Cloud (kubernetes-plugin)
  • Tested creation of Docker Cloud (docker-plugin)

Proposed changelog entries

  • Rename CloudSet query parameter type to cloudDescriptorName to avoid conflicts in Clouds implementations.

Proposed upgrade guidelines

Submitter checklist

Desired reviewers

@mention

Before the changes are marked as ready-for-merge:

Maintainer checklist

@NotMyFault NotMyFault requested a review from a team April 30, 2024 12:33
@NotMyFault
Copy link
Member

There's a SpotBugs issue introduced left to address, btw

@LKHN
Copy link

LKHN commented May 14, 2024

@Dohbedoh , Just a heads-up in case the notification slipped by about the SpotBugs that @NotMyFault mentioned. :)

@timja timja added the bug For changelog: Minor bug. Will be listed after features label May 15, 2024
Copy link
Member

@NotMyFault NotMyFault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/label ready-for-merge


This PR is now ready for merge. We will merge it after ~24 hours if there is no negative feedback.
Please see the merge process documentation for more information about the merge process.
Thanks!

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label May 18, 2024
@MarkEWaite MarkEWaite added the developer Changes which impact plugin developers label May 19, 2024
@MarkEWaite MarkEWaite merged commit eb65336 into jenkinsci:master May 19, 2024
17 checks passed
@Dohbedoh Dohbedoh deleted the JENKINS-72622 branch May 21, 2024 12:27
krisstern pushed a commit to krisstern/jenkins that referenced this pull request May 24, 2024
…nkinsci#9198)

* [JENKINS-72622] Rename CloudSet query parameter to avoid conflict

* [JENKINS-72622] Address SpotBugs warning

(cherry picked from commit eb65336)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features developer Changes which impact plugin developers ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants